import type { SiteConfig } from "./types/type";
import { defineStore } from "pinia";
import { Names } from "../store/store-namespace";

export const usePermiss = defineStore(Names.permissions, {
  state: () => {
    return {
      permissions: [],
    };
  },
  actions: {
    dataFill(state: any) {
      this.$state.permissions = state;
    },
  },
});
